Component({
    properties: {
        title: {
            type: String,
            value: "确认弹窗"
        },
        cancelTitle: {
            type: String,
            value: "取消"
        },
        comfirmTitle: {
            type: String,
            value: "确认"
        }
    },
    data: {},
    methods: {
        comfirm: function() {
            this.triggerEvent("onComfirm", {}, {});
        },
        cancel: function() {
            this.triggerEvent("onCancel", {}, {});
        }
    }
});